package com.chuangjiangx.member.basic.web.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 能否领卡请求类
 *
 * @author wp
 * @date 2018-09-06 11:33
 **/
@ApiModel("能否支付后领卡请求类")
@Data
public class CanGiftCardRequest {
    @ApiModelProperty(value = "订单号",example = "201809061131116609496590",required = true)
    @NotNull(message = "订单号不能为空")
    private String orderNumber;

    @ApiModelProperty(value = "商户id",example = "171",required = true)
    @NotNull
    private Long merchantId;

    @ApiModelProperty(value = "openId",example = "171",required = true)
    @NotNull
    private String openId;
}
